using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using Utilities;


namespace Models
{
    /// <summary>
    /// 
    /// </summary>
    public enum ParticipantRole
    {
        Excution, Approve, Varification, Notices
    }

    [JsonIgnoreAttribute("Workflow", "ModifiedTime", "ActivityResults")]
    public class Activity : EntityBase
    {
        public string ActivityName { get; set; }
        public string ActivityDuration { get; set; }
        public int Level { get; set; }

        public int? WorkflowID { get; set; }
        public virtual Workflow Workflow { get; set; }
        public string ActivityRole { get; set; }
        public string ActivityType { get; set; }
        public virtual List<Participant> Participants { get; set; }

        public virtual List<ActivityResult> ActivityResults { get; set; }
        
    }
}